package com.dhp.bkapiinterface.Utils;

import org.springframework.util.DigestUtils;

/**
 * 用于对sk进行加密
 */
public class SignUtil {
    private static final String salt = "dhp";

    public static String doSign(String secretKey){
        return DigestUtils.md5DigestAsHex((secretKey + salt).getBytes());
    }
}
